#ifndef SERVER_H
#define SERVER_H
#include "common.h"

typedef struct {
	int fd;
	short flag;
	struct in_addr data;
	PF *handler;
	struct list_head list;
}accept_t;

extern void server_down(int sig);
#endif
